<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		
		<script>
			
			window.onload = function(){
				
				console.log("页面加载完成了");
				
				console.log(document.title);
				// document.title = "嘻嘻awa";
				
				var i = 0;
				setInterval(function(){
					if(i == 0){
						document.title = "哈哈O(∩_∩)O哈哈~";
						i = 1;
					}else{
						document.title = "嘻嘻awa";
						i = 0;
					}					
				},1000)
			}
			
			
			
		</script>
		
		
	</body>
</html>